﻿
@{
    ViewBag.Title = "首页";
}

@section CSS{
    <link href="~/Content/themes/default/easyui.css" rel="stylesheet" />
    <link href="~/Content/themes/icon.css" rel="stylesheet" />
}
<div class="row" style="margin-top: 30px;">
    <div class="col-md-6">
        <div class="row">
            <div class="col-md-12">
                <p>EasyUI 树 （为与异步树对比，加载时添加一秒延迟）</p>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6" style="background-color:rgba(200,200,200,0.5)">
                <ul id="tree"></ul>
            </div>
            <div class="col-md-6" >
                <p id="text1">请选择一个节点</p>
            </div>
        </div>
    </div>
    <div class="col-md-6">
        <div class="row">
            <div class="col-md-12">
                <p>EasyUI 异步树 （为体现效果，已手动添加延迟）</p>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6"  style="background-color:rgba(200,200,200,0.5)">
                <ul id="tree2"></ul>
            </div>
            <div class="col-md-6" >
                <p id="text2">请选择一个节点</p>
            </div>
        </div>
    </div>
</div>


@section Script{
    <script src="~/Scripts/jquery.easyui.min.js"></script>
    <script src="~/Scripts/page/Home/Index.js"></script>
    <script>
        $(function () {
            CreateTree();
        })
    </script>
}

